package ui;

import java.awt.Color;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.JPanel;

public class ApartmentButtons extends JPanel {
	public ApartmentButtons (Color c) {
		setLayout(new FlowLayout());
		//this.setPreferredSize(preferredSize);
		JButton btn1 = new JButton("Move In");
			btn1.addActionListener(
				new ActionListener(){
					public void actionPerformed(ActionEvent event){
					
					}
				});
		JButton btn2 = new JButton("Move Out");
		btn2.addActionListener(
				new ActionListener(){
					public void actionPerformed(ActionEvent event){
					
					}
				});
		JButton btn3 = new JButton("Renter Info");
		btn3.addActionListener(
				new ActionListener(){
					public void actionPerformed(ActionEvent event){
						JOptionPane.showMessageDialog(null, "string");
					}
				});
		JButton btn4 = new JButton("Apartment Info");
		btn4.addActionListener(
				new ActionListener(){
					public void actionPerformed(ActionEvent event){
						JOptionPane.showMessageDialog(null, "string");
					
					}
				});
		JButton btn5 = new JButton("All Info");
		btn5.addActionListener(
				new ActionListener(){
					public void actionPerformed(ActionEvent event){
						JOptionPane.showMessageDialog(null, "string");
					
					}
				});
	
		setBackground(new Color(0f,0f,0f,0f));
		//setBackground(c);
		this.add(btn1);
		this.add(btn2);
		this.add(btn3);
		this.add(btn4);
		this.add(btn5);
	}
}